import {createApp} from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import '../font-style/text.css'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import './assets/css/flex.scss'
import {toTop} from './utils/util'

const app = createApp(App)

app.config.globalProperties.$toTop = toTop

app.use(router).use(ElementPlus).mount('#app')

export default app.$loading